package com.bootdo.project.service.impl;

import com.bootdo.project.domain.TUserCardAppeal;
import com.bootdo.project.dao.TUserCardAppealMapper;
import com.codegen.vo.Page;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import org.apache.ibatis.annotations.Param;

/**
 *
 * Created by xxxx on 2019/03/21.
 */
@Service
public class TUserCardAppealService {

	@Autowired
    private TUserCardAppealMapper tUserCardAppealMapper;
    
    public int deleteByPrimaryKey(Long id){
        return tUserCardAppealMapper.deleteByPrimaryKey(id);
    }

    public int insert(TUserCardAppeal record){
        return tUserCardAppealMapper.insert(record);
    }

    public int insertSelective(TUserCardAppeal record){
        return tUserCardAppealMapper.insertSelective(record);
    }

    public TUserCardAppeal selectByPrimaryKey(Long id){
        return tUserCardAppealMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(TUserCardAppeal record){
        return tUserCardAppealMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(TUserCardAppeal record){
        return tUserCardAppealMapper.updateByPrimaryKey(record);
    }

    public List<TUserCardAppeal> selectByCondition(TUserCardAppeal record){
        return tUserCardAppealMapper.selectByCondition(record);
    }

    public List<TUserCardAppeal> selectAll(){
        return tUserCardAppealMapper.selectAll();
    }

    public List<TUserCardAppeal> selectByPage(Page<TUserCardAppeal> page){
        return tUserCardAppealMapper.selectByPage(page);
    }

    public Integer count(TUserCardAppeal record){
        return tUserCardAppealMapper.count(record);
    }

    public int deleteByCondition(TUserCardAppeal record){
        return tUserCardAppealMapper.deleteByCondition(record);
    }

}
